package com.bzkj.msfx.domain.fileTransfer;


import com.bzkj.common.annotation.Excel;
import com.bzkj.common.core.domain.BaseEntity;

/**
 * 共享文件夹配置对象 ERP_ShareFolders
 *
 * @author chj
 * @date 2024-01-08
 */
public class ErpSharefolders extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;
    /**
     * 主机名称
     */
    @Excel(name = "主机名称")
    private String pcName;

    /**
     * 1:赋码线；2：上传电脑
     */
    @Excel(name = "主机类型", readConverterExp = "1=赋码线,2=关联关系,3=出入库单")
    private String type;

    /**
     * ip地址
     */
    @Excel(name = "ip地址")
    private String ipAddress;

    /**
     * 访问名
     */
    @Excel(name = "访问名")
    private String userName;

    /**
     * 访问密码
     */
    @Excel(name = "访问密码")
    private String password;

    /**
     * 共享文件夹路径
     */
    @Excel(name = "共享文件夹路径")
    private String path;

    @Excel(name = "是否回传",readConverterExp = "0=否,1=是")
    private String isReturned;

//    @Excel(name = "所属工厂",readConverterExp = "1=成都倍特药业股份有限公司(双流生产基地),101=成都倍特得诺药业有限公司,105=海南倍特药业有限公司,111=四川普锐特药业有限公司,113=四川太平洋药业有限责任公司")
    private String businessEntId;
    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 部门id
     */
    private Long deptId;

    private int pageSize;

    private int pageNum;

    public ErpSharefolders() {
    }


    public String getBusinessEntId() {
        return businessEntId;
    }

    public void setBusinessEntId(String businessEntId) {
        this.businessEntId = businessEntId;
    }

    public String getIsReturned() {
        return isReturned;
    }

    public void setIsReturned(String isReturned) {
        this.isReturned = isReturned;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }


    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setIpAddress(String ipAddress) {
        this.ipAddress = ipAddress;
    }

    public String getIpAddress() {
        return ipAddress;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getPath() {
        return path;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserName() {
        return userName;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getPassword() {
        return password;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getType() {
        return type;
    }

    public void setPcName(String pcName) {
        this.pcName = pcName;
    }

    public String getPcName() {
        return pcName;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public int getPageNum() {
        return pageNum;
    }

    public void setPageNum(int pageNum) {
        this.pageNum = pageNum;
    }

    @Override
    public String toString() {
        return "ErpSharefolders{" +
                "id=" + id +
                ", pcName='" + pcName + '\'' +
                ", type='" + type + '\'' +
                ", ipAddress='" + ipAddress + '\'' +
                ", userName='" + userName + '\'' +
                ", password='" + password + '\'' +
                ", path='" + path + '\'' +
                ", isReturned=" + isReturned +
                ", userId=" + userId +
                ", deptId=" + deptId +
                '}';
    }

}
